package org.mm.xml.entities;

import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlTransient;

/**
 * EntityXML
 *
 * @author Marco Traversari
 * @version $Revision: $ $Date: $ $Author: $
 * TODO to be deleted
 */
@XmlTransient
public abstract class EntityXML {

	protected Long id = null;

	protected String name = null;

	protected String description = null;

	/**
	 * getId
	 * @return id
	 */
	@XmlAttribute
	public Long getId() {
		return id;
	}

	/**
	 * setId
	 * @param id
	 */
	public void setId(Long id) {
		this.id = id;
	}

	/**
	 * getName
	 * @return name
	 */
	public String getName() {
		return name;
	}

	/**
	 * setName
	 * @param name
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * getDescription
	 * @return description
	 */
	public String getDescription() {
		return description;
	}

	/**
	 * setDescription
	 * @param description
	 */
	public void setDescription(String description) {
		this.description = description;
	}
}
